@import "~@/assets/style/helper/reset-element-btn.scss";

// element 样式补丁
.el-card {
  &.is-always-shadow {
    box-shadow: 0 0 8px 0 rgba(232, 237, 250, 0.6), 0 2px 4px 0 rgba(232, 237, 250, 0.5);
  }
  &.is-hover-shadow {
    &:hover {
      box-shadow: 0 0 8px 0 rgba(232, 237, 250, 0.6), 0 2px 4px 0 rgba(232, 237, 250, 0.5);
    }
  }
}

.el-menu--horizontal {
  border-bottom: none !important;
}

.el-tabs__item:focus.is-active.is-focus:not(:active) {
  box-shadow: none !important;
}

// 修复IE宽度不能撑满
.el-table__body,
.el-table__header {
  width: 100% !important;
}

// Chrome下表格头部错位修复
.el-table th.gutter,
.el-table colgroup.gutter {
  display: table-cell !important;
}

// 页面列表普通表格
.el-table {
  // 页面列表表头颜色
  thead {
    background: #ebf1f6 !important;
    color: #001737 !important;

    th,
    tr {
      background: none !important;
    }
  }

  // 折叠表格内编剧
  .el-table__expanded-cell[class*="cell"] {
    padding: 0 !important;
  }
}

// 弹窗表单占满一行
.form-item-full-width {
  width: 100%;
  .el-form-item {
    width: 100%;
    .el-form-item__content {
      width: 80%;
    }
  }
}
